package com.vitabuybuy.tv.ui.shopcenter.store.adapter

import androidx.recyclerview.widget.RecyclerView
import com.vitabuybuy.tv.R
import com.vitabuybuy.tv.databinding.ItemLiveProductBinding
import com.vitabuybuy.tv.dto.StroeDetailDto
import com.library.common.base.BindRecycAdapter

class LiveProAdapter : BindRecycAdapter<ItemLiveProductBinding,StroeDetailDto.LiveBean.ProductListBean>(){
    override fun onBindViewHolder(
        mBinding: ItemLiveProductBinding,
        itemData: StroeDetailDto.LiveBean.ProductListBean,
        holder: RecyclerView.ViewHolder,
        position: Int
    ) {
        mBinding.itemData = itemData
    }

    override fun normalViewId(viewType: Int): Int {
        return R.layout.item_live_product
    }

}
